Concatenate N stringsΒΆ

Concatenate N strings.
list_of_colors = ['Red', 'White', 'Black']
colors = '-'.join(list_of_colors)

print("All Colors: "+colors)

Output:

All Colors: Red-White-Black